/**
 * @file ChangeLayerCommand.hpp
 *
 * @date 30/12/2011
 * @author Tales 
 *
 */

#ifndef _MODEL_CHANGELAYERCOMMAND_HPP_
#define _MODEL_CHANGELAYERCOMMAND_HPP_

#include "Command.hpp"

namespace yep
{

class ChangeLayerCommand: public Command
{
public:
	ChangeLayerCommand(size_t src, size_t dst, bool swap = true);
	void execute(PictureState &state);
private:
	size_t source, destiny;
	bool swap;
};

} /* namespace yep */
#endif /* _MODEL_CHANGELAYERCOMMAND_HPP_ */
